var _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) {
    return typeof t;
} : function(t) {
    return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
};

(global.webpackJsonp = global.webpackJsonp || []).push([ [ "uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts" ], {
    "14e2": function(t, e, a) {
        var i = a("8451");
        a.n(i).a;
    },
    "21fb": function(t, e, a) {
        a.r(e);
        var i, o = a("abf6"), n = a("f2f1");
        for (i in n) "default" !== i && function(t) {
            a.d(e, t, function() {
                return n[t];
            });
        }(i);
        a("14e2");
        var r = a("f0c5"), o = Object(r.a)(n.default, o.b, o.c, !1, null, "58fd05e0", null, !1, o.a, void 0);
        e.default = o.exports;
    },
    "7c4b": function(t, o, n) {
        (function(t, s) {
            Object.defineProperty(o, "__esModule", {
                value: !0
            }), o.default = void 0;
            var a = e(n("3f2e")), _ = e(n("1251"));
            function e(t) {
                return t && t.__esModule ? t : {
                    default: t
                };
            }
            function L(t) {
                for (var e, a = 0 < arguments.length && void 0 !== t ? t : {}, i = arguments.length, o = new Array(1 < i ? i - 1 : 0), n = 1; n < i; n++) o[n - 1] = arguments[n];
                for (e in o) for (var r in o[e]) o[e].hasOwnProperty(r) && (a[r] = o[e][r] && "object" === _typeof(o[e][r]) ? L(Array.isArray(o[e][r]) ? [] : {}, a[r], o[e][r]) : o[e][r]);
                return a;
            }
            var i = null;
            t = {
                name: "qiun-data-charts",
                mixins: [ t.mixinDatacom ],
                props: {
                    type: {
                        type: String,
                        default: null
                    },
                    canvasId: {
                        type: String,
                        default: "uchartsid"
                    },
                    canvas2d: {
                        type: Boolean,
                        default: !1
                    },
                    background: {
                        type: String,
                        default: "rgba(0,0,0,0)"
                    },
                    animation: {
                        type: Boolean,
                        default: !0
                    },
                    chartData: {
                        type: Object,
                        default: function() {
                            return {
                                categories: [],
                                series: []
                            };
                        }
                    },
                    opts: {
                        type: Object,
                        default: function() {
                            return {};
                        }
                    },
                    eopts: {
                        type: Object,
                        default: function() {
                            return {};
                        }
                    },
                    loadingType: {
                        type: Number,
                        default: 2
                    },
                    errorShow: {
                        type: Boolean,
                        default: !0
                    },
                    errorReload: {
                        type: Boolean,
                        default: !0
                    },
                    errorMessage: {
                        type: String,
                        default: null
                    },
                    inScrollView: {
                        type: Boolean,
                        default: !1
                    },
                    reshow: {
                        type: Boolean,
                        default: !1
                    },
                    reload: {
                        type: Boolean,
                        default: !1
                    },
                    disableScroll: {
                        type: Boolean,
                        default: !1
                    },
                    ontap: {
                        type: Boolean,
                        default: !0
                    },
                    ontouch: {
                        type: Boolean,
                        default: !1
                    },
                    onmouse: {
                        type: Boolean,
                        default: !0
                    },
                    onmovetip: {
                        type: Boolean,
                        default: !1
                    },
                    echartsH5: {
                        type: Boolean,
                        default: !1
                    },
                    echartsApp: {
                        type: Boolean,
                        default: !1
                    },
                    tooltipShow: {
                        type: Boolean,
                        default: !0
                    },
                    tooltipFormat: {
                        type: String,
                        default: void 0
                    },
                    tooltipCustom: {
                        type: Object,
                        default: void 0
                    },
                    startDate: {
                        type: String,
                        default: void 0
                    },
                    endDate: {
                        type: String,
                        default: void 0
                    },
                    textEnum: {
                        type: Array,
                        default: function() {
                            return [];
                        }
                    },
                    groupEnum: {
                        type: Array,
                        default: function() {
                            return [];
                        }
                    },
                    pageScrollTop: {
                        type: Number,
                        default: 0
                    },
                    directory: {
                        type: String,
                        default: "/"
                    },
                    tapLegend: {
                        type: Boolean,
                        default: !0
                    },
                    menus: {
                        type: Array,
                        default: function() {
                            return [];
                        }
                    }
                },
                data: function() {
                    return {
                        cid: "uchartsid",
                        inWx: !1,
                        inAli: !1,
                        inTt: !1,
                        inBd: !1,
                        inH5: !1,
                        inApp: !1,
                        inWin: !1,
                        type2d: !0,
                        disScroll: !1,
                        openmouse: !1,
                        pixel: 1,
                        cWidth: 375,
                        cHeight: 250,
                        showchart: !1,
                        echarts: !1,
                        echartsResize: !1,
                        uchartsOpts: {},
                        echartsOpts: {},
                        drawData: {},
                        lastDrawTime: null
                    };
                },
                created: function() {
                    if (this.cid = this.canvasId, "uchartsid" == this.canvasId || "" == this.canvasId) {
                        for (var t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", e = t.length, a = "", i = 0; i < 32; i++) a += t.charAt(Math.floor(Math.random() * e));
                        this.cid = a;
                    }
                    var o = s.getSystemInfoSync();
                    "windows" !== o.platform && "mac" !== o.platform || (this.inWin = !0), !(this.inWx = !0) === this.canvas2d || "windows" === o.platform || "mac" === o.platform ? this.type2d = !1 : (this.pixel = o.pixelRatio, 
                    "uchartsid" !== this.canvasId && "" != this.canvasId || console.log("[uCharts]:开启canvas2d模式，必须指定canvasId，否则会出现偶尔获取不到dom节点的问题！")), 
                    this.disScroll = this.disableScroll;
                },
                mounted: function() {
                    var t = this;
                    this.$nextTick(function() {
                        t.beforeInit();
                    });
                    var a, i, o, e = this.inH5 ? 500 : 200, n = this;
                    s.onWindowResize((i = e, o = !(a = function(t) {
                        var e;
                        1 != n.mixinDatacomLoading && (null !== (e = n.mixinDatacomErrorMessage) && "null" !== e && "" !== e || (n.echarts ? n.echartsResize = !n.echartsResize : n.resizeHandler()));
                    }), function() {
                        var t = arguments, e = this;
                        clearTimeout(o), o && clearTimeout(o), o = setTimeout(function() {
                            o = !1, a.apply(e, t);
                        }, i);
                    }));
                },
                destroyed: function() {
                    !0 === this.echarts ? (delete cfe.option[this.cid], delete cfe.instance[this.cid]) : (delete _.default.option[this.cid], 
                    delete _.default.instance[this.cid]), s.offWindowResize(function() {});
                },
                watch: {
                    chartDataProps: {
                        handler: function(t, e) {
                            "object" === (void 0 === t ? "undefined" : _typeof(t)) ? JSON.stringify(t) !== JSON.stringify(e) && (t.series && 0 < t.series.length ? this.beforeInit() : (this.mixinDatacomLoading = !0, 
                            this._clearChart(), this.showchart = !1, this.mixinDatacomErrorMessage = null)) : (this.mixinDatacomLoading = !1, 
                            this._clearChart(), this.showchart = !1, this.mixinDatacomErrorMessage = "参数错误：chartData数据类型错误");
                        },
                        immediate: !1,
                        deep: !0
                    },
                    localdata: {
                        handler: function(t, e) {
                            JSON.stringify(t) !== JSON.stringify(e) && (0 < t.length ? this.beforeInit() : (this.mixinDatacomLoading = !0, 
                            this._clearChart(), this.showchart = !1, this.mixinDatacomErrorMessage = null));
                        },
                        immediate: !1,
                        deep: !0
                    },
                    optsProps: {
                        handler: function(t, e) {
                            "object" === (void 0 === t ? "undefined" : _typeof(t)) ? JSON.stringify(t) !== JSON.stringify(e) && !1 === this.echarts && this.checkData(this.drawData) : (this.mixinDatacomLoading = !1, 
                            this._clearChart(), this.showchart = !1, this.mixinDatacomErrorMessage = "参数错误：opts数据类型错误");
                        },
                        immediate: !1,
                        deep: !0
                    },
                    eoptsProps: {
                        handler: function(t, e) {
                            "object" === (void 0 === t ? "undefined" : _typeof(t)) ? JSON.stringify(t) !== JSON.stringify(e) && !0 === this.echarts && this.checkData(this.drawData) : (this.mixinDatacomLoading = !1, 
                            this.showchart = !1, this.mixinDatacomErrorMessage = "参数错误：eopts数据类型错误");
                        },
                        immediate: !1,
                        deep: !0
                    },
                    reshow: function(t, e) {
                        var a = this;
                        !0 === t && !1 === this.mixinDatacomLoading && setTimeout(function() {
                            a.mixinDatacomErrorMessage = null, a.echartsResize = !a.echartsResize, a.checkData(a.drawData);
                        }, 200);
                    },
                    reload: function(t, e) {
                        !0 === t && (this.showchart = !1, this.mixinDatacomErrorMessage = null, this.reloading());
                    },
                    mixinDatacomErrorMessage: function(t, e) {
                        t && (this.emitMsg({
                            name: "error",
                            params: {
                                type: "error",
                                errorShow: this.errorShow,
                                msg: t,
                                id: this.cid
                            }
                        }), this.errorShow && console.log("[秋云图表组件]" + t));
                    },
                    errorMessage: function(t, e) {
                        t && this.errorShow && null !== t && "null" !== t && "" !== t ? (this.showchart = !1, 
                        this.mixinDatacomLoading = !1, this.mixinDatacomErrorMessage = t) : (this.showchart = !1, 
                        this.mixinDatacomErrorMessage = null, this.reloading());
                    }
                },
                computed: {
                    optsProps: function() {
                        return JSON.parse(JSON.stringify(this.opts));
                    },
                    eoptsProps: function() {
                        return JSON.parse(JSON.stringify(this.eopts));
                    },
                    chartDataProps: function() {
                        return JSON.parse(JSON.stringify(this.chartData));
                    }
                },
                methods: {
                    beforeInit: function() {
                        this.mixinDatacomErrorMessage = null, "object" === _typeof(this.chartData) && null != this.chartData && void 0 !== this.chartData.series && 0 < this.chartData.series.length ? (this.drawData = L({}, this.chartData), 
                        this.mixinDatacomLoading = !1, this.showchart = !0, this.checkData(this.chartData)) : 0 < this.localdata.length ? (this.mixinDatacomLoading = !1, 
                        this.showchart = !0, this.localdataInit(this.localdata)) : "" !== this.collection ? (this.mixinDatacomLoading = !1, 
                        this.getCloudData()) : this.mixinDatacomLoading = !0;
                    },
                    localdataInit: function(t) {
                        if (0 < this.groupEnum.length) for (var e = 0; e < t.length; e++) for (var a = 0; a < this.groupEnum.length; a++) t[e].group === this.groupEnum[a].value && (t[e].group = this.groupEnum[a].text);
                        if (0 < this.textEnum.length) for (var i = 0; i < t.length; i++) for (var o = 0; o < this.textEnum.length; o++) t[i].text === this.textEnum[o].value && (t[i].text = this.textEnum[o].text);
                        var n, r, s, c = !1, l = {
                            categories: [],
                            series: []
                        }, h = [], u = [];
                        if (!0 === (c = (!0 === this.echarts ? cfe : _.default).categories.includes(this.type))) {
                            if (this.chartData && this.chartData.categories && 0 < this.chartData.categories.length) h = this.chartData.categories; else if (this.startDate && this.endDate) for (var d = new Date(this.startDate), f = new Date(this.endDate); d <= f; ) h.push((s = r = void 0, 
                            r = (n = d).getFullYear(), s = n.getMonth() + 1, n = n.getDate(), 1 <= s && s <= 9 && (s = "0" + s), 
                            0 <= n && n <= 9 && (n = "0" + n), r + "-" + s + "-" + n)), d = d.setDate(d.getDate() + 1), 
                            d = new Date(d); else {
                                var p = {};
                                t.map(function(t, e) {
                                    null == t.text || p[t.text] || (h.push(t.text), p[t.text] = !0);
                                });
                            }
                            l.categories = h;
                        }
                        var m = {};
                        if (t.map(function(t, e) {
                            null == t.group || m[t.group] || (u.push({
                                name: t.group,
                                data: []
                            }), m[t.group] = !0);
                        }), 0 == u.length) if (u = [ {
                            name: "默认分组",
                            data: []
                        } ], !0 === c) for (var g = 0; g < h.length; g++) {
                            for (var x = 0, y = 0; y < t.length; y++) t[y].text == h[g] && (x = t[y].value);
                            u[0].data.push(x);
                        } else for (var D = 0; D < t.length; D++) u[0].data.push({
                            name: t[D].text,
                            value: t[D].value
                        }); else for (var v = 0; v < u.length; v++) if (0 < h.length) for (var w = 0; w < h.length; w++) {
                            for (var S = 0, b = 0; b < t.length; b++) u[v].name == t[b].group && t[b].text == h[w] && (S = t[b].value);
                            u[v].data.push(S);
                        } else for (var T = 0; T < t.length; T++) u[v].name == t[T].group && u[v].data.push(t[T].value);
                        l.series = u, this.drawData = L({}, l), this.checkData(l);
                    },
                    reloading: function() {
                        !1 !== this.errorReload && (this.showchart = !1, this.mixinDatacomErrorMessage = null, 
                        "" !== this.collection ? (this.mixinDatacomLoading = !1, this.onMixinDatacomPropsChange(!0)) : this.beforeInit());
                    },
                    checkData: function(t) {
                        var e = this, a = this.cid;
                        !0 === this.echarts ? (cfe.option[a] = L({}, this.eopts), cfe.option[a].id = a, 
                        cfe.option[a].type = this.type) : this.type && _.default.type.includes(this.type) ? (_.default.option[a] = L({}, _.default[this.type], this.opts), 
                        _.default.option[a].canvasId = a) : (this.mixinDatacomLoading = !1, this.showchart = !1, 
                        this.mixinDatacomErrorMessage = "参数错误：props参数中type类型不正确");
                        t = L({}, t);
                        void 0 !== t.series && 0 < t.series.length && (!(this.mixinDatacomErrorMessage = null) === this.echarts ? cfe.option[a].chartData = t : (_.default.option[a].categories = t.categories, 
                        _.default.option[a].series = t.series), this.$nextTick(function() {
                            e.init();
                        }));
                    },
                    resizeHandler: function() {
                        var e = this, t = Date.now();
                        t - (this.lastDrawTime || t - 3e3) < 1e3 || s.createSelectorQuery().in(this).select("#ChartBoxId" + this.cid).boundingClientRect(function(t) {
                            e.showchart = !0, 0 < t.width && 0 < t.height && (t.width === e.cWidth && t.height === e.cHeight || e.checkData(e.drawData));
                        }).exec();
                    },
                    getCloudData: function() {
                        var e = this;
                        1 != this.mixinDatacomLoading && (this.mixinDatacomLoading = !0, this.mixinDatacomGet().then(function(t) {
                            e.mixinDatacomResData = t.result.data, e.localdataInit(e.mixinDatacomResData);
                        }).catch(function(t) {
                            e.mixinDatacomLoading = !1, e.showchart = !1, e.mixinDatacomErrorMessage = "请求错误：" + t;
                        }));
                    },
                    onMixinDatacomPropsChange: function(t, e) {
                        1 == t && "" !== this.collection && (this.showchart = !1, this.mixinDatacomErrorMessage = null, 
                        this._clearChart(), this.getCloudData());
                    },
                    _clearChart: function() {
                        var t = this.cid;
                        !0 !== this.echrts && ((t = s.createCanvasContext(t, this)).clearRect(0, 0, this.cWidth, this.cHeight), 
                        t.draw());
                    },
                    init: function() {
                        var i = this, o = this.cid;
                        s.createSelectorQuery().in(this).select("#ChartBoxId" + o).boundingClientRect(function(a) {
                            0 < a.width && 0 < a.height ? (i.mixinDatacomLoading = !1, i.showchart = !0, i.lastDrawTime = Date.now(), 
                            i.cWidth = a.width, i.cHeight = a.height, !0 !== i.echarts && (_.default.option[o].background = "rgba(0,0,0,0)" == i.background ? "#FFFFFF" : i.background, 
                            _.default.option[o].canvas2d = i.type2d, _.default.option[o].pixelRatio = i.pixel, 
                            _.default.option[o].animation = i.animation, _.default.option[o].width = a.width * i.pixel, 
                            _.default.option[o].height = a.height * i.pixel, _.default.option[o].ontap = i.ontap, 
                            _.default.option[o].ontouch = i.ontouch, _.default.option[o].onmouse = i.openmouse, 
                            _.default.option[o].onmovetip = i.onmovetip, _.default.option[o].tooltipShow = i.tooltipShow, 
                            _.default.option[o].tooltipFormat = i.tooltipFormat, _.default.option[o].tooltipCustom = i.tooltipCustom, 
                            _.default.option[o].inScrollView = i.inScrollView, _.default.option[o].lastDrawTime = i.lastDrawTime, 
                            _.default.option[o].tapLegend = i.tapLegend), i.inH5 || i.inApp ? 1 == i.echarts ? (cfe.option[o].ontap = i.ontap, 
                            cfe.option[o].onmouse = i.openmouse, cfe.option[o].tooltipShow = i.tooltipShow, 
                            cfe.option[o].tooltipFormat = i.tooltipFormat, cfe.option[o].tooltipCustom = i.tooltipCustom, 
                            cfe.option[o].lastDrawTime = i.lastDrawTime, i.echartsOpts = L({}, cfe.option[o])) : (_.default.option[o].rotateLock = _.default.option[o].rotate, 
                            i.uchartsOpts = L({}, _.default.option[o])) : (_.default.option[o] = function t(e, a) {
                                for (var i in e) null !== e[i] && "object" === _typeof(e[i]) ? t(e[i], a) : "format" === i && "string" == typeof e[i] && (e.formatter = a[e[i]] || void 0);
                                return e;
                            }(_.default.option[o], _.default.formatter), i.mixinDatacomErrorMessage = null, 
                            i.mixinDatacomLoading = !1, i.showchart = !0, i.$nextTick(function() {
                                !0 === i.type2d ? s.createSelectorQuery().in(i).select("#" + o).fields({
                                    node: !0,
                                    size: !0
                                }).exec(function(t) {
                                    var e;
                                    t[0] ? (t = (e = t[0].node).getContext("2d"), _.default.option[o].context = t, e.width = a.width * i.pixel, 
                                    e.height = a.height * i.pixel, e._width = a.width * i.pixel, e._height = a.height * i.pixel, 
                                    _.default.option[o].rotateLock = _.default.option[o].rotate, _.default.instance[o] && _.default.option[o] && !0 === _.default.option[o].update ? i._updataUChart(o) : setTimeout(function() {
                                        _.default.option[o].context.restore(), _.default.option[o].context.save(), i._newChart(o);
                                    }, 100)) : (i.showchart = !1, i.mixinDatacomErrorMessage = "参数错误：开启2d模式后，未获取到dom节点，canvas-id:" + o);
                                }) : (i.inAli && (_.default.option[o].rotateLock = _.default.option[o].rotate), 
                                _.default.option[o].context = s.createCanvasContext(o, i), _.default.instance[o] && _.default.option[o] && !0 === _.default.option[o].update ? i._updataUChart(o) : setTimeout(function() {
                                    _.default.option[o].context.restore(), _.default.option[o].context.save(), i._newChart(o);
                                }, 100));
                            }))) : (i.mixinDatacomLoading = !1, i.showchart = !1, 1 == i.reshow && (i.mixinDatacomErrorMessage = "布局错误：未获取到父元素宽高尺寸！canvas-id:" + o));
                        }).exec();
                    },
                    saveImage: function() {
                        s.canvasToTempFilePath({
                            canvasId: this.cid,
                            success: function(t) {
                                s.saveImageToPhotosAlbum({
                                    filePath: t.tempFilePath,
                                    success: function() {
                                        s.showToast({
                                            title: "保存成功",
                                            duration: 2e3
                                        });
                                    }
                                });
                            }
                        }, this);
                    },
                    _newChart: function(t) {
                        var e = this;
                        1 != this.mixinDatacomLoading && (this.showchart = !0, _.default.instance[t] = new a.default(_.default.option[t]), 
                        _.default.instance[t].addEventListener("renderComplete", function() {
                            e.emitMsg({
                                name: "complete",
                                params: {
                                    type: "complete",
                                    complete: !0,
                                    id: t
                                }
                            }), _.default.instance[t].delEventListener("renderComplete");
                        }), _.default.instance[t].addEventListener("scrollLeft", function() {
                            e.emitMsg({
                                name: "scrollLeft",
                                params: {
                                    type: "scrollLeft",
                                    scrollLeft: !0,
                                    id: t
                                }
                            });
                        }), _.default.instance[t].addEventListener("scrollRight", function() {
                            e.emitMsg({
                                name: "scrollRight",
                                params: {
                                    type: "scrollRight",
                                    scrollRight: !0,
                                    id: t
                                }
                            });
                        }));
                    },
                    _updataUChart: function(t) {
                        _.default.instance[t].updateData(_.default.option[t]);
                    },
                    _tooltipDefault: function(t, e, a, i) {
                        if (e) {
                            var o = t.data;
                            return "object" === _typeof(t.data) && (o = t.data.value), e + " " + t.name + ":" + o;
                        }
                        return t.properties && t.properties.name ? t.properties.name : t.name + ":" + t.data;
                    },
                    _showTooltip: function(t) {
                        var e, o = this, n = this.cid, a = _.default.option[n].tooltipCustom;
                        a && null != a ? (e = void 0, 0 <= a.x && 0 <= a.y && (e = {
                            x: a.x,
                            y: a.y + 10
                        }), _.default.instance[n].showToolTip(t, {
                            index: a.index,
                            offset: e,
                            textList: a.textList,
                            formatter: function(t, e, a, i) {
                                return "string" == typeof _.default.option[n].tooltipFormat && _.default.formatter[_.default.option[n].tooltipFormat] ? _.default.formatter[_.default.option[n].tooltipFormat](t, e, a, i) : o._tooltipDefault(t, e, a, i);
                            }
                        })) : _.default.instance[n].showToolTip(t, {
                            formatter: function(t, e, a, i) {
                                return "string" == typeof _.default.option[n].tooltipFormat && _.default.formatter[_.default.option[n].tooltipFormat] ? _.default.formatter[_.default.option[n].tooltipFormat](t, e, a, i) : o._tooltipDefault(t, e, a, i);
                            }
                        });
                    },
                    _tap: function(e, a) {
                        var i = this, o = this.cid, n = null, r = null;
                        !0 === this.inScrollView || this.inAli ? s.createSelectorQuery().in(this).select("#ChartBoxId" + o).boundingClientRect(function(t) {
                            e.changedTouches = [], i.inAli ? e.changedTouches.unshift({
                                x: e.detail.clientX - t.left,
                                y: e.detail.clientY - t.top
                            }) : e.changedTouches.unshift({
                                x: e.detail.x - t.left,
                                y: e.detail.y - t.top - i.pageScrollTop
                            }), a ? !0 === i.tooltipShow && i._showTooltip(e) : (n = _.default.instance[o].getCurrentDataIndex(e), 
                            r = _.default.instance[o].getLegendDataIndex(e), !0 === i.tapLegend && _.default.instance[o].touchLegend(e), 
                            !0 === i.tooltipShow && i._showTooltip(e), i.emitMsg({
                                name: "getIndex",
                                params: {
                                    type: "getIndex",
                                    event: {
                                        x: e.detail.x - t.left,
                                        y: e.detail.y - t.top
                                    },
                                    currentIndex: n,
                                    legendIndex: r,
                                    id: o,
                                    opts: _.default.instance[o].opts
                                }
                            }));
                        }).exec() : a ? !0 === this.tooltipShow && this._showTooltip(e) : (e.changedTouches = [], 
                        e.changedTouches.unshift({
                            x: e.detail.x - e.currentTarget.offsetLeft,
                            y: e.detail.y - e.currentTarget.offsetTop
                        }), n = _.default.instance[o].getCurrentDataIndex(e), r = _.default.instance[o].getLegendDataIndex(e), 
                        !0 === this.tapLegend && _.default.instance[o].touchLegend(e), !0 === this.tooltipShow && this._showTooltip(e), 
                        this.emitMsg({
                            name: "getIndex",
                            params: {
                                type: "getIndex",
                                event: {
                                    x: e.detail.x,
                                    y: e.detail.y - e.currentTarget.offsetTop
                                },
                                currentIndex: n,
                                legendIndex: r,
                                id: o,
                                opts: _.default.instance[o].opts
                            }
                        }));
                    },
                    _touchStart: function(t) {
                        var e = this.cid;
                        i = Date.now(), !0 === _.default.option[e].enableScroll && _.default.instance[e].scrollStart(t), 
                        this.emitMsg({
                            name: "getTouchStart",
                            params: {
                                type: "touchStart",
                                event: t.changedTouches[0],
                                id: e
                            }
                        });
                    },
                    _touchMove: function(t) {
                        var e = this.cid, a = Date.now();
                        a - i < Math.floor(1e3 / 60) || (i = a, !0 === _.default.option[e].enableScroll && _.default.instance[e].scroll(t), 
                        this.emitMsg({
                            name: "getTouchMove",
                            params: {
                                type: "touchMove",
                                event: t.changedTouches[0],
                                id: e
                            }
                        }), !0 === this.ontap && !1 === _.default.option[e].enableScroll && !0 === this.onmovetip && this._tap(t, !0));
                    },
                    _touchEnd: function(t) {
                        var e = this.cid;
                        !0 === _.default.option[e].enableScroll && _.default.instance[e].scrollEnd(t), this.emitMsg({
                            name: "getTouchEnd",
                            params: {
                                type: "touchEnd",
                                event: t.changedTouches[0],
                                id: e
                            }
                        }), !0 === this.ontap && !1 === _.default.option[e].enableScroll && !0 === this.onmovetip && this._tap(t, !0);
                    },
                    _error: function(t) {
                        this.mixinDatacomErrorMessage = t.detail.errMsg;
                    },
                    emitMsg: function(t) {
                        this.$emit(t.name, t.params);
                    },
                    getRenderType: function() {
                        !0 === this.echarts && !1 === this.mixinDatacomLoading && this.beforeInit();
                    },
                    toJSON: function() {
                        return this;
                    }
                }
            };
            o.default = t;
        }).call(this, n("a9ff").default, n("543d").default);
    },
    8451: function(t, e, a) {},
    abf6: function(t, e, a) {
        a.d(e, "b", function() {
            return o;
        }), a.d(e, "c", function() {
            return n;
        }), a.d(e, "a", function() {
            return i;
        });
        var i = {
            qiunLoading: function() {
                return a.e("uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading").then(a.bind(null, "5ee3"));
            },
            qiunError: function() {
                return a.e("uni_modules/qiun-data-charts/components/qiun-error/qiun-error").then(a.bind(null, "a170"));
            }
        }, o = function() {
            this.$createElement;
            this._self._c;
        }, n = [];
    },
    f2f1: function(t, e, a) {
        a.r(e);
        var i, o = a("7c4b"), n = a.n(o);
        for (i in o) "default" !== i && function(t) {
            a.d(e, t, function() {
                return o[t];
            });
        }(i);
        e.default = n.a;
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts-create-component", {
    "uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts-create-component": function(t, e, a) {
        a("543d").createComponent(a("21fb"));
    }
}, [ [ "uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts-create-component" ] ] ]);